# 数据类型:int float bool str
# 整数  浮点  布尔  字符串
# 变量没有类型 数据有类型
a = 11
b = 1.1
c1 = True
c2 = False
s = "老王"

name = "隔壁老王"
age = 12
weight = 175.2
print(name)
# 格式化输出
print("我叫{},我年龄是{}，我体重是{}斤".format(name, age, weight))
print("我叫{1},我年龄是{0}，我体重是{2}斤".format(name, age, weight))
print("我叫%s,我年龄是%d，我体重是%.2f斤" % (name, age, weight))

temp = 10
print("成绩高级得占{}%".format(temp))
print("成绩高级得占%d%%"%(temp)) # ***